home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 1
/
Precision Software Applications Silver Collection Volume One (PSM) (1993).iso
/
tutor
/
dosguide.exe
/
HELPDOS.ZIP
/
VOL.HLP
< prev
Wrap
Text File
|
1985-09-10
|
1KB
|
32 lines
------------------------ VOL - Internal DOS Command --------------------------
VOL displays the volume label of a disk.
FORMAT: VOL [d:]
REMARKS:
d: - the letter of the drive containing the disk whose volume label is to be
displayed. If omitted, the default drive is assumed.
VOL displays the label if one exists. If no label exists, the message
"Volume in drive d has no label" is displayed.
Volume labels provide a way for you to identify a disk.
In DOS Version 2, a disk label may be created only when the disk is
formatted. In DOS Version 3, a disk label may be created when the disk is
formatted, or with the LABEL command.
EXAMPLE:
The batch file below starts the program BUDGET. Before the program is started,
the volume label is displayed for the user to ensure that the correct disk is in
drive B:
REM Starting Budget Application
PAUSE Place BUDGET DATA disk in Drive B
VOL B:
PAUSE Volume Label should be BUDGET DATA
BUDGET